package com.sky.service;

import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.result.Result;

import java.util.List;

public interface DishService {
    /**
     * 新增菜品
     * @param dto
     * @return
     */
    Result addDish(DishDTO dto);

    Result queryDishesByPage(DishPageQueryDTO dto);

    Result deleteDishesByIds(List<Long> ids);

    Result queryDishById(Long id);

    Result updateDishById(DishDTO dto);
}
